'use strict';

module.exports = app => {
    const {STRING, INTEGER, DATE, BIGINT} = app.Sequelize;
    return app.model.define('t_sys_dict', {
        id: {
            type: STRING,
            primaryKey: true,
        },
        pid: STRING, // 父级id
        dict_name: STRING, // 字典名
        dict_code: BIGINT, // 字典编码
        dict_value: STRING, // 字典值
        dict_desc: STRING, // 字典描述
        del_flag: INTEGER, // 删除标识
    });
};
